package spring.cloud.tasks.api.analyzer;


import spring.cloud.tasks.api.database.entity.StatisticsDto;

public interface DashboardService {


    /**
     * 负荷最重的top10的Executor列表
     */
    StatisticsDto top10LoadExecutor(String key) throws RuntimeException;

    String top10LoadExecutorByAllZkCluster() throws RuntimeException;

    /**
     * 负荷最重的top10的任务列表以及其成功率
     */
    StatisticsDto top10LoadJob(String key) throws RuntimeException;

    String top10LoadJobByAllZkCluster() throws RuntimeException;


}
